package com.huatai.manage.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huatai.manage.entity.TbCodeManageEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huatai.manage.vo.TbCodeManageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 编码管理（字典）; Mapper 接口
 * </p>
 *
 * @author luoxc
 * @since 2023-07-05
 */
public interface TbCodeManageMapper extends BaseMapper<TbCodeManageEntity> {

	List<TbCodeManageVo> selectAll();

	List<TbCodeManageVo> pageList(Page<TbCodeManageEntity> page, @Param("code") TbCodeManageEntity tbCodeManageEntity);

	TbCodeManageVo getByCodeId(@Param("codeId") String codeId);

    List<TbCodeManageVo> listByCodeMain(@Param("codeMain") String codeMain);

}
